package com.example.mapper;

import com.example.domain.Songlist;
import org.springframework.stereotype.Repository;

import java.util.List;
/**
 * @Description: TODO
 * @Author: Ma_XiaoLong
 * @CreateTime: 2024/1/15 11:00
 * @param: null 
 * @return: null
 **/
@Repository
public interface SonglistMapper {
    List<Songlist> selectListBySonglist(Songlist songlist);
/**
 * @Description: 根据歌单id从数据库中查询对应歌单记录
 * @Author: Ma_XiaoLong
 * @CreateTime: 2024/1/17 9:26
 * @param: id
 * @return: com.example.domain.Songlist
 **/
    Songlist selectById(Integer id);

    int updateById(Songlist songlist);

    int insertSonglist(Songlist songlist);

    int deleteById(Integer id);
}
